Step 2: Key Generation
Initial 10-bit Key:
Permutation P10:[3, 5, 2, 7, 4, 10, 1, 9, 8, 6]
After P10:
Left Shift 1 (LS-1) on left 5 bits:
Left Shift 1 (LS-1) on right 5 bits:
Combined after LS-1:
Permutation P8:[6, 3, 7, 4, 8, 5, 10, 9]
Subkey K1:
Left Shift 2 (LS-2) on LS-1 left bits:
Left Shift 2 (LS-2) on LS-1 right bits:
Combined after LS-2:
Permutation P8:[6, 3, 7, 4, 8, 5, 10, 9]
Subkey K2: